function sqrt (a)
  x = 1
  for i = 1:7
    x = 0.5*(x + a/x)
    print(i)
    println(x)
  end
  return x 
end

for i = 10:20
  println( sqrt(i) )
end
